<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 15:35
 * 删除考勤申请记录
 */
//获取参数
$oaa_id = $route->bodyParams["oaa_id"];//主键ID

$whereArr = [
    "oaa_id" => $oaa_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_attendance_application",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );